using System;
using ProtoBuf;

namespace Game500.ClientServerCommon.Src
{
  [ProtoContract]
  [Serializable]
  public class GamerAction
  {
    public GamerAction()
    {
    }

    public GamerAction(GamerActionType type, float value)
    {
      Type = type;
      Value = value;
    }

    [ProtoMember(1)]
    public GamerActionType Type { get; set; }

    [ProtoMember(2)]
    public float Value { get; set; }
  }

  public enum GamerActionType : byte
  {
    TangageChangeAction,
    ThrottleChangeAction,
    FlipAction,
    FireAction
  }
}